﻿/*----------------------------------------------------------------
//  <copyright file="UserOrganizationInputDtoBase.cs" company="MicroCloud@151504200868">
//      Copyright © 2020-2024 MicroCloud Corporation, All rights reserved.
//  </copyright>
//  <site>https://gitee.com/chenmm123/microclouds</site>
//  <last-editor>cmm</last-editor>
//  <last-date>2022-11-23 14:30</last-date>
//----------------------------------------------------------------*/

namespace MicroCloud.Identity.Dtos
{
    #region "用户组织机构输入DTO基类"
    /// <summary>
    /// 用户组织机构输入DTO基类
    /// </summary>
    /// <typeparam name="TKey">用户组织机构编号类型</typeparam>
    /// <typeparam name="TUserKey">用户编号类型</typeparam>
    /// <typeparam name="TOrganizationKey">组织机构编号类型</typeparam>
    public abstract class UserOrganizationInputDtoBase<TKey, TUserKey, TOrganizationKey> : IInputDto<TKey>
    {
        #region "属性"
        #region "获取或设置 主键，唯一标识"
        /// <summary>
        /// 获取或设置 主键，唯一标识
        /// </summary>
        [DisplayName("主键")]
        public TKey Id { get; set; }
        #endregion
        #region "获取或设置 用户编号"
        /// <summary>
        /// 获取或设置 用户编号
        /// </summary>
        [DisplayName("用户编号")]
        public TUserKey UserId { get; set; }
        #endregion
        #region "获取或设置 组织机构编号"
        /// <summary>
        /// 获取或设置 组织机构编号
        /// </summary>
        [DisplayName("组织机构编号")]
        public TOrganizationKey OrganizationId { get; set; }
        #endregion
        #region "获取或设置 机构管理员"
        /// <summary>
        /// 获取或设置 机构管理员
        /// </summary>
        [DisplayName("机构管理员")]
        public bool Administrator { get; set; }
        #endregion
        #region "获取或设置 机构经理"
        /// <summary>
        /// 获取或设置 机构经理
        /// </summary>
        [DisplayName("机构经理")]
        public bool Leader { get; set; }
        #endregion
        #region "获取或设置 是否锁定"
        /// <summary>
        /// 获取或设置 是否锁定
        /// </summary>
        [DisplayName("用户编号")]
        public bool IsLocked { get; set; }
        #endregion

        #endregion

    }
    #endregion

}
